<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>问题报告</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link href="${request.getContextPath()}/css/common/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link href="${request.getContextPath()}/css/font-awesome/font-awesome.css?v=4.3.0" rel="stylesheet">
    <link href="${request.getContextPath()}/css/common/style.css?v=2.2.0" rel="stylesheet">
	<style type="text/css">
		#wrapper{
			margin-top:52px;
		}
	</style>
	<script type="text/javascript">
		var contextPath = '${request.getContextPath()}';
	</script>
</head>
<body>
	<div>
		<#include "/public/header.html"/>
	</div>
	<div id="wrapper">
	 <div class="wrapper wrapper-content" id="uiContent">
	     <div class="col-lg-10" style="padding-left:330px;">
                        <div>
                            <table class="table">
                                <tbody>
                                    <tr>
                                        <td>
                                            <button type="button" class="btn btn-danger m-r-sm">S</button>
                                          		  1
                                        </td>
                                        <td>
                                            <button type="button" class="btn btn-primary m-r-sm">SUITES</button>
                                            	${totalCase}
                                        </td>
                                        <td>
                                            <button type="button" class="btn btn-info m-r-sm">TESTS</button>
                                           		3
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <button type="button" class="btn btn-info m-r-sm">PASSED</button>
                                           		 4
                                        </td>
                                        <td>
                                            <button type="button" class="btn btn-success m-r-sm">FAILED</button>
                                          		5
                                        </td>
                                        <td>
                                            <button type="button" class="btn btn-danger m-r-sm">PENDING</button>
                                            	6
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
	 
      			<div class="col-lg-12">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <h5>${tClass.className}测试报告</h5>
                            </div>
                            <div class="ibox-content">
                                <table class="table table-striped">
                                    <thead>
                                        <tr>
                                            <th>Method</th>
                                            <th>步骤数</th>
                                            <th>成功数</th>
                                            <th>失败数</th>
                                            <th>成功率</th>
                                            <th>时间</th>
                                            <th>详情</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    <#if tCases??>
                                    	<#list tCases as tCase>
                                    		<tr>
	                                            <td>
	                                            	<i class="fa fa-check" style="color:#16987e;">
	                                            	<i class="fa fa-times" style="color:#ed5565;"></i>
	                                            	${tCase.caseName}
	                                            </td>
	                                            <td><span class="line">${tCase.stepCount}</span></td>
	                                            <td><span class="line">${tCase.caseErrors}</span></td>
	                                            <td style="color:#d43f3a">${tCase.caseFailures}</td>
	                                            <td><span class="line">${tCase.successRate}</span></td>
	                                            <td>${tCase.spendTime}</td>
	                                            <td class="text-navy" onclick="step.index.getStepInfo(${tCase.caseId});" >
	                                            <a href="#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
	                                            </td>
                                        	</tr>
                                    	</#list>
                                    </#if>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                     </div>
                   </div>
                  </div>
</body>
    <script type="text/javascript" src="${request.getContextPath()}/js/common/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="${request.getContextPath()}/js/common/json2.js"></script>
	<script type="text/javascript" src="${request.getContextPath()}/js/common/common.js"></script>
    <script type="text/javascript" src="${request.getContextPath()}/js/main/step.js"></script>
</html>